package vn.com.bookstore.dao;

import vn.com.bookstore.domain.model.Banner;
import vn.com.bookstore.domain.model.PagingInfo;
import vn.com.bookstore.domain.model.SearchResult;
import vn.com.bookstore.model.vo.BannerVO;

public interface BannerDao {
	SearchResult<Banner> getBanner(PagingInfo pagingInfo, String keyword);
	void saveBanner(BannerVO bannerVO);
	void deleteBanner(int id);
	Banner getBannerDetail(int id);
	SearchResult<Banner> getBannerByType(PagingInfo pagingInfo, String type);
}
